package com.mybatis.domain;

import java.util.Date;

public class Order {
    private int oid;
    private double price;
    private String desc;
    private Date createTime;
    private int uid;

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oid=" + oid +
                ", price=" + price +
                ", desc='" + desc + '\'' +
                ", createTime=" + createTime +
                ", uid=" + uid +
                '}';
    }
}
